//
//  Library_Extra.m
//  funkydog
//
//  Created by Saptarshi Guha on 1/17/08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import "Library_Extra.h"

#import <objc/objc.h>
#import <objc/objc-runtime.h>
#import <objc/objc-class.h>


@implementation Library(Extra)
//+(void)load{
//	if (self == [Library class]){
//		Method originalMethod ,replacedMethod;
//		originalMethod  = class_getClassMethod(self, @selector(sendMessagesMatchingCriterion:to:options:));
//		replacedMethod  = class_getClassMethod(self, @selector(mysendMessagesMatchingCriterion:to:options::));
//	//	method_exchangeImplementations(originalMethod, replacedMethod);
//		originalMethod  = class_getClassMethod(self, @selector(messagesMatchingQuery:options:));
//		replacedMethod  = class_getClassMethod(self, @selector(mymessagesMatchingQuery:options:));
//	//	method_exchangeImplementations(originalMethod, replacedMethod);
//	}
//}//
//+ (void)mysendMessagesMatchingCriterion:(id)fp8 to:(id)fp12 options:(unsigned int)fp16
//{
//	NSLog(@"+[Library sendMessagesMatchingCriterion:%@ to:%@ options%u",fp8,fp12,fp16);
//	[self mysendMessagesMatchingCriterion:fp8 to:fp12 options:fp16];
//}
//+ (id)mymessagesMatchingQuery:(const char *)fp8 options:(unsigned int)fp12{
//	id x=[self mymessagesMatchingQuery:fp8 options:fp12];
//	NSLog(@"%@= +[Library messagesMatchingQuery:%s options:%u]",x,fp8,fp12);
//	return x;
//}
@end
